package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 楼盘置业顾问
 * @author liuqi
 */
@Data
@Entity
@Table(name = "tx_estate_adviser")
public class EstateAdviser extends BaseDomain {
    @ApiModelProperty("主键")
    @Column(name = "id")
    private Long id;

    @ApiModelProperty("置业顾问UUID")
    @Column(name = "adviser_uuid")
    private String adviserUuid;

    @ApiModelProperty("名称")
    @Column(name = "name")
    private String name;

    @ApiModelProperty("手机")
    @Column(name = "phone")
    private String phone;

    @ApiModelProperty("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty("创建者id")
    @Column(name = "create_user_id")
    private Long createUserId;

    @ApiModelProperty("0 未删除，1 删除")
    @Column(name = "deleted")
    private String deleted;

    @ApiModelProperty("楼盘id")
    @Column(name = "premises_id")
    private Long premisesId;

    @ApiModelProperty("用户id")
    @Column(name = "partner_id")
    private Long partnerId;

}
